home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / text0052.txt < prev    next >
Encoding:
Text File  |  1994-09-20  |  864 b   |  29 lines

  1.  
  2.  
  3. On 15-Jul-94 "j.valks" wrote :
  4.  
  5.  > Try this one:
  6.  >
  7.  > WbStartup
  8.  > If OpenSerial("serial.device",0,9600,0)
  9.  >     WriteSerialString 0,"Now testing..."
  10.  >     SerialClose 0
  11.  > Else
  12.  >     Nprint "Can't open Serial.Device"
  13.  > End
  14.  > MouseWait:End
  15.  >
  16.  > The only thing that happend is that the first 2 letters of the string
  17.  > appears on the screen (of the PC).
  18.  
  19. I think your closing the serial.device too soon and not giving enough time for
  20. the string to be sent.  Move CloseSerial to the end of your program.
  21.  
  22. Rob. (robert.newman@frontier.centron.com)
  23. ============================================================================
  24. | Standard disclaimer: The views of this user are strictly his own.        |
  25. | Gated @ Centronics BBS [centron.com] - +44-473-273246 VFC/V32Ter/HST/Fax |
  26. ============================================================================
  27.  
  28.  
  29.